import { AbortType } from "../Enum";
import BTNode from "./BTNode";
import BTParent from "./BTParent";

export default abstract class BTComposite extends BTParent
{
    abortType: AbortType;
    constructor(childrens: Array<BTNode> = [], abortType: AbortType = AbortType.None)
    {
        super(childrens);
        this.abortType = abortType;
    }
}


